package com.ksyun.whgc.heruiming.work3;

/**
 * 编写一个程序，启动三个线程，三个线程的ID分别是A，B，C；，每个线程将自己的ID值在屏幕上打印5遍，打印顺序是ABCABC…  （20分）
 */
public class work03 {

    public static void main(String[] args) {
        //初始化flag为A
        MyThread.Flag="A";
        MyThread threadA = new MyThread("A", "C");
        MyThread threadB = new MyThread("C", "B");
        MyThread threadC = new MyThread("B", "A");
        threadA.start();
        threadB.start();
        threadC.start();
    }
}